aead-gcm-stream 0.3.0

Pure Rust implementaion of AES GCM cipher for data streams
Documentation

aead-gcm-stream

Pure Rust implementaion of AES GCM cipher for data streams.

image

use aead_gcm_stream::AesGcm;
use aes::Aes128;

let mut cipher = AesGcm::<Aes128>::new(&key);
cipher.init(nonce);

cipher.encrypt(&mut data);

let tag = cipher.final();